package mx.com.switz.autopista.utils.quartz;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

public class RunMeJob extends QuartzJobBean {
	
	private RunMeTask runMeTask;

	public void setRunMeTask(RunMeTask runMeTask) {
		this.runMeTask = runMeTask;
	}
	
	
	protected void executeInternal(JobExecutionContext arg0)throws JobExecutionException {
		runMeTask.printMe();
		
	}

}
